package myclasses;

public class Degree {
	private String location;
	private String university;
	private String discipline;
	private String name;
	private String gpa;
	private String month;
	private String year;
	private String id;
	
	public Degree() {
		this.location = "";
		this.university = "";
		this.discipline = "";
		this.name = "";
		this.gpa = "";
		this.month = "";
		this.year = "";
		this.id = "";
	}
	
	public String getId() {
		return id;
	}
	
	public String getLocation() {
		return location;
	}
	
	public String getUniversity() {
		return university;
	}
	
	public String getDiscipline() {
		return discipline;
	}
	
	public String getName() {
		return name;
	}
	
	public String getGpa() {
		return gpa;
	}
	
	public String getMonth() {
		return month;
	}
	
	public String getYear() {
		return year;
	}
	
	public void setLocation(String location) {
		this.location = location;
	}
	
	public void setUniversity(String university) {
		this.university = university;
	}
	
	public void setDiscipline(String discipline) {
		this.discipline = discipline;
	}
	
	public void setGpa(String gpa) {
		this.gpa = gpa;
	}
	
	public void setMonth(String month) {
		this.month = month;
	}
	
	public void setYear(String year) {
		this.year = year;
	}
	
	public void setId(String id) {
		this.id = id;
	}
	
	public void setName(String name) {
		this.name = name;
	}
	
	//old....
	public String printDegree() {
		return "Location: " + location + "<br/>University: "+ university + "<br/>Dicipline: "+ discipline + "<br/>Name: " + name + "<br/><br/>";
	}
}